package com.ssm.helong.shop.entity;

/**
 * 顶层实体类
 */
public class GoodsTopFloor {
    //第一层分类id
    private Integer id;
    //第一层分类名称
    private String goodsFirstName;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getGoodsFirstName() {
        return goodsFirstName;
    }

    public void setGoodsFirstName(String goodsFirstName) {
        this.goodsFirstName = goodsFirstName;
    }


    @Override
    public String toString() {
        return "GoodsTopFloor{" +
                "id=" + id +
                ", goodsFirstName='" + goodsFirstName + '\'' +
                ", goodsParentId='" +
                '}';
    }
    //有参
    public GoodsTopFloor(Integer id, String goodsFirstName, String goodsParentId) {
        this.id = id;
        this.goodsFirstName = goodsFirstName;
    }
    //无参
    public GoodsTopFloor() {
    }
}
